/** Reset some basic elements */
body, h1, h2, h3, h4, h5, h6, p, blockquote, pre, hr, dl, dd, ol, ul, figure { margin: 0; padding: 0; }

/** Basic styling */
body { font: 400 16px/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif; color: #111; background-color: #fdfdfd; -webkit-text-size-adjust: 100%; -webkit-font-feature-settings: "kern" 1; -moz-font-feature-settings: "kern" 1; -o-font-feature-settings: "kern" 1; font-feature-settings: "kern" 1; font-kerning: normal; }

/** Set `margin-bottom` to maintain vertical rhythm */
h1, h2, h3, h4, h5, h6, p, blockquote, pre, ul, ol, dl, figure, .highlight { margin-bottom: 15px; }

/** Images */
img { max-width: 100%; vertical-align: middle; }

/** Figures */
figure > img { display: block; }

figcaption { font-size: 14px; }

/** Lists */
ul, ol { margin-left: 30px; }

li > ul, li > ol { margin-bottom: 0; }

/** Headings */
h1, h2, h3, h4, h5, h6 { font-weight: 400; }

/** Links */
a { color: #2a7ae2; text-decoration: none; }
a:visited { color: #1756a9; }
a:hover { color: #111; text-decoration: underline; }

/** Blockquotes */
blockquote { color: #828282; border-left: 4px solid #e8e8e8; padding-left: 15px; font-size: 18px; letter-spacing: -1px; font-style: italic; }
blockquote > :last-child { margin-bottom: 0; }

/** Code formatting */
pre, code { font-size: 15px; border: 1px solid #e8e8e8; border-radius: 3px; background-color: #eef; }

code { padding: 1px 5px; }

pre { padding: 8px 12px; overflow-x: auto; }
pre > code { border: 0; padding-right: 0; padding-left: 0; }

/** Wrapper */
.wrapper { max-width: -webkit-calc(800px - (30px * 2)); max-width: calc(800px - (30px * 2)); margin-right: auto; margin-left: auto; padding-right: 30px; padding-left: 30px; }
@media screen and (max-width: 800px) { .wrapper { max-width: -webkit-calc(800px - (30px)); max-width: calc(800px - (30px)); padding-right: 15px; padding-left: 15px; } }

/** Clearfix */
.wrapper:after { content: ""; display: table; clear: both; }

/** Icons */
.icon > svg { display: inline-block; width: 16px; height: 16px; vertical-align: middle; }
.icon > svg path { fill: #828282; }

/** Site header */
/** Syntax highlighting styles */
.highlight { background: #fff; }
.highlighter-rouge .highlight { background: #eef; }
.highlight .c { color: #998; font-style: italic; }
.highlight .err { color: #a61717; background-color: #e3d2d2; }
.highlight .k { font-weight: bold; }
.highlight .o { font-weight: bold; }
.highlight .cm { color: #998; font-style: italic; }
.highlight .cp { color: #999; font-weight: bold; }
.highlight .c1 { color: #998; font-style: italic; }
.highlight .cs { color: #999; font-weight: bold; font-style: italic; }
.highlight .gd { color: #000; background-color: #fdd; }
.highlight .gd .x { color: #000; background-color: #faa; }
.highlight .ge { font-style: italic; }
.highlight .gr { color: #a00; }
.highlight .gh { color: #999; }
.highlight .gi { color: #000; background-color: #dfd; }
.highlight .gi .x { color: #000; background-color: #afa; }
.highlight .go { color: #888; }
.highlight .gp { color: #555; }
.highlight .gs { font-weight: bold; }
.highlight .gu { color: #aaa; }
.highlight .gt { color: #a00; }
.highlight .kc { font-weight: bold; }
.highlight .kd { font-weight: bold; }
.highlight .kp { font-weight: bold; }
.highlight .kr { font-weight: bold; }
.highlight .kt { color: #458; font-weight: bold; }
.highlight .m { color: #099; }
.highlight .s { color: #d14; }
.highlight .na { color: #008080; }
.highlight .nb { color: #0086B3; }
.highlight .nc { color: #458; font-weight: bold; }
.highlight .no { color: #008080; }
.highlight .ni { color: #800080; }
.highlight .ne { color: #900; font-weight: bold; }
.highlight .nf { color: #900; font-weight: bold; }
.highlight .nn { color: #555; }
.highlight .nt { color: #000080; }
.highlight .nv { color: #008080; }
.highlight .ow { font-weight: bold; }
.highlight .w { color: #bbb; }
.highlight .mf { color: #099; }
.highlight .mh { color: #099; }
.highlight .mi { color: #099; }
.highlight .mo { color: #099; }
.highlight .sb { color: #d14; }
.highlight .sc { color: #d14; }
.highlight .sd { color: #d14; }
.highlight .s2 { color: #d14; }
.highlight .se { color: #d14; }
.highlight .sh { color: #d14; }
.highlight .si { color: #d14; }
.highlight .sx { color: #d14; }
.highlight .sr { color: #009926; }
.highlight .s1 { color: #d14; }
.highlight .ss { color: #990073; }
.highlight .bp { color: #999; }
.highlight .vc { color: #008080; }
.highlight .vg { color: #008080; }
.highlight .vi { color: #008080; }
.highlight .il { color: #099; }

body { position: relative; font-size: 14px; line-height: 150%; }

article { padding-top: 30px; }

.header { margin: 0 !important; font-size: 16px; }

.navbar-brand { padding: 11px; }
.navbar-brand img { width: 32px; }

.container-fluid { max-width: 1400px; }

.docs-container { margin-top: 60px; }

.menu-col { float: left; width: 150px; }

.device-col { float: right; width: 440px; }

.docs-col { margin: -60px 440px 0 150px; }

.device { background-image: url("../assets/img/device-sprite.png"); background-repeat: no-repeat; width: 395px; height: 813px; background-position: -395px 0; background-size: 300%; margin-left: 20px; position: relative; }

.device-fixed, .menu-fixed { position: fixed; }

.window { position: absolute; top: 137px; left: 37px; width: 321px; height: 549px; overflow: hidden; font-size: .85rem; line-height: 1.05rem; background: #eee; }

.status-bar { height: 20px; width: 320px; background: url("../assets/img/status-bar.png"); background-repeat: no-repeat; background-size: 100%; top: 117px; position: absolute; z-index: 99; left: 37px; }

.side-nav { margin-left: 0; }

.side-nav > li > a { width: 120px; color: #666; background: transparent !important; padding: 8px 0; }

.side-nav > li.active > a { color: #2a7ae2; }

.brand-header { position: relative; padding: 60px 0; color: #555; text-shadow: 0 1px 0 rgba(0, 0, 0, 0.1); background-color: #f4f4f4; background-repeat: repeat-x; margin-bottom: 20px; font-size: 18px; }
.brand-header p { margin: 10px 0; }
.brand-header .notice { font-size: 14px; color: #999; }

.logo { float: left; }
.logo img { width: 250px; }

footer { font-size: 13px; color: #999; border-top: 1px solid #ccc; background: #f4f4f4; margin: 100px 0 0; padding: 20px; text-align: center; }
footer .links { margin: 20px 0; padding: 0; }
footer li { display: inline-block; }
footer li + li { margin-left: 15px; }
footer a { color: #999; }

h2 { color: #660066; font-weight: 700; font-size: 24px; margin: 1em 0; padding: 15px 0; border-bottom: 1px solid #ddd; }

h3 { font-size: 18px; color: #555; }

code { border: 0; }

.home .brand-header .container { padding-top: 30px; }
.home .brand-header .container .logo { margin-top: -25px; margin-right: 40px; }

@media screen and (max-width: 1200px) { .menu-col, .device-col { display: none; }
  .menu-fixed, .device-fixed { position: fixed; top: 20px; }
  .docs-col { margin: 0 20px; } }
.git-buttons { margin-top: 15px; }
.git-buttons iframe { width: 100px; height: 24px; border: 0; display: inline-block; }

#qrcode { width: 200px; height: 200px; position: absolute; z-index: 999; bottom: 0; left: 50%; transform: translate3d(-50%, 100%, 0); transition: .5s; }
#qrcode.show { transform: translate3d(-50%, 0, 0); }

#qrcode-btn { width: 67px; height: 68px; bottom: 39px; position: absolute; left: 50%; margin-left: -33.5px; cursor: pointer; background-image: url("../assets/img/home-btn.png"); background-size: 100%; background-repeat: no-repeat; animation: spin 4s linear infinite; transform-origin: 50% 50%; }

.thumbnail .img-wrap { overflow: hidden; }

@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); transform-origin: 50% 50%; } }
